           package com.java.diagnostics.visualizer.parser.vgc.j9;
           
           import com.java.diagnostics.visualizer.parser.vgc.constants.DateConverter;
           import java.util.TimeZone;
           
           public class J950DateConverter extends DateConverter
           {
             private static final TimeZone JAVA6_TIMEZONE = TimeZone.getDefault();
           
             private static final TimeZone JAVA5_ZONE = TimeZone.getDefault();
             private static final String JAVA5_FORMAT = "EEE MMM dd HH:mm:ss yyyy";
             private static final String JAVA6_FORMAT = "MMM dd HH:mm:ss yyyy";
             private static final String[] formats = { "EEE MMM dd HH:mm:ss yyyy", "MMM dd HH:mm:ss yyyy" };
           
             private static final TimeZone[] timeZones = { JAVA5_ZONE, JAVA6_TIMEZONE };
           
             private static final J950DateConverter instance = new J950DateConverter();
           
             protected String[] getUnlocalisedDateStrings()
             {
               return formats;
             }
           
             protected TimeZone[] getTimezonesForDateStrings()
             {
               return timeZones;
             }
           
             public static double parseDate(String stringValue)
             {
               return instance.parse(stringValue);
             }
           }

